import {request} from '../request.js' //导入封装好的js文件
 
// 获取钓场钓位管理
export const get_fish_position_plan = (data)=>{
  return request({
    url:'/fish_position_plan/',
    method:'get',
    data
  })
}
// 钓场钓位新增
export const post_fish_position_plan = (data)=>{
  return request({
    url:'/fish_position_plan/',
    method:'post',
    data:data
  })
}
// 钓场钓位删除
export const delete_fish_position_plan = (id)=>{
  return request({
    url:`/delete_fish_position_plan/${id}/`,
    method:'get'
  })
}

// 钓场钓位状态修改
export const update_fish_position_plan = (id,data)=>{
  return request({
    url:`/update_fish_position_plan/${id}/`,
    method:'put',
    data:data
  })
}